package cn.sms.pet.service;

import cn.sms.basic.service.IBaseService;
import cn.sms.basic.util.PageList;
import cn.sms.pet.domain.Pet;
import cn.sms.pet.domain.SearchMasterMsg;
import cn.sms.pet.query.SearchMasterMsgQuery;
import cn.sms.user.domain.Logininfo;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg, Logininfo logininfo);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Logininfo loginInfo);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, Logininfo loginInfo);

    PageList<SearchMasterMsg> user(SearchMasterMsgQuery query, Logininfo loginInfo);

    void handle(Pet pet,Logininfo loginInfo);
}
